// 浮点类型
package main

import "fmt"

var fNum float64 = 3.14

func main() {
	fmt.Println(add(fNum))
}

func add(fNum float64) float64 {
	fNum += fNum
	return fNum
}